
import java.awt.Point;

public class Fixedpointmain
{
        public static void main(String[] argv)
        {

                Fixedpoint p1 = new Fixedpoint(5, 6);
                Fixedpoint2 p2 = new Fixedpoint2(20, 20);
                System.out.println(p1.getX());
                System.out.println(p2.getX());
                Point loc = p1.getLocation();
                Point loc2 = p2.getLocation();
                loc.x = 10;
                loc2.x = 15;
                System.out.println(p1.getX());
                System.out.println(p2.getX());

        }
}

